package com.hawthorn.mq;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import springfox.documentation.oas.annotations.EnableOpenApi;

@SpringBootApplication
@EnableOpenApi
@EnableDiscoveryClient
@EnableCircuitBreaker
@MapperScan("com.hawthorn.mq.repository")
public class BootMqProviderApplication
{
  public static void main(String[] args)
  {
    SpringApplication.run(BootMqProviderApplication.class, args);
  }
}
